//
// Created by wze-zero on 2024/8/26 026.
//
#include <iostream>

#define PI 3.14
using namespace std;

int main() {
    int r;
    cin >> r;
    cout << 4 * PI * r * r * r / 3 << endl;
    return 0;
}